﻿
/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/26/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is ChiTietTonKho object, it is object of BusinessObject table.
    /// </summary>
    public class ChiTietTonKho
    {
        #region fields
        private string id;
        private string name;
        private int maDVT;
        private string dVT;
        private Int64 soLuongTon;
        private int type;
        private string tenChungXe;
        private string tenXe;
        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for PhieuBanHang Object
        /// </summary>
        public ChiTietTonKho()
        {
            this.id = string.Empty;
            this.name = string.Empty;
            this.dVT = string.Empty;
            this.soLuongTon = Int64.MinValue;
            this.type = int.MinValue;
            this.tenChungXe = string.Empty;
            this.tenXe = string.Empty;
            this.maDVT = int.MinValue;
        }
        #endregion constructor

        #region properties
        /// <summary>
        /// Define Id Property
        /// </summary>
        public string Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        /// <summary>
        /// Define NgayBan Property
        /// </summary>
        public string  Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        /// <summary>
        /// Define DonViTinh Property
        /// </summary>
        public string DonViTinh
        {
            get { return this.dVT; }
            set { this.dVT = value; }
        }      
        /// <summary>
        /// Define SoLuongTon Property
        /// </summary>
        public Int64 SoLuongTon
        {
            get { return this.soLuongTon; }
            set { this.soLuongTon = value; }
        }
        /// <summary>
        /// Define Type Property
        /// </summary>
        public int Type
        {
            get { return this.type; }
            set { this.type = value; }
        }
        public string TenXe
        {
            get { return this.tenXe; }
            set { this.tenXe = value; }
        }
        public string TenChungXe
        {
            get { return this.tenChungXe; }
            set { this.tenChungXe = value; }
        }
        public int MaDVT
        {
            get { return this.maDVT; }
            set { this.maDVT = value; }
        }
        #endregion properties
    }
}
